Class EmailUserImpl

java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.EmailUserImpl
All Implemented Interfaces:
IPCObject, EmailUser

public class EmailUserImpl extends IPCObjectImpl implements EmailUser
Information provided by the PKI file:

    \class EmailUser
    
    \brief EmailUser holds and manipulates the email user.
    
    \example network().getDevice("PC0").getProcess("EmailClient").getEmailUser()
    
Author:
Auto-generated
  • Constructor Details

  • Method Details

    • getUser

      public String getUser()
      Information provided by the PKI file:
      
          \brief Returns the username of the email user.
          
          \return string, the username of the email user.
          
              
      Specified by:
      getUser in interface EmailUser
      Returns:
      String Returns a String
    • getName

      public String getName()
      Information provided by the PKI file:
      
          \brief Returns the name of the email user.
          
          \return string, the name of the email user.
          
              
      Specified by:
      getName in interface EmailUser
      Returns:
      String Returns a String
    • setUser

      public void setUser(String user)
      Information provided by the PKI file:
      
          \brief Sets the username for the email user.
          
          \param user, the username for the email user.
          
              
      Specified by:
      setUser in interface EmailUser
      Parameters:
      user - Takes in a parameter of user
    • setName

      public void setName(String name)
      Information provided by the PKI file:
      
          \brief Sets the name for the email user.
          
          \param name, the name for the email user.
          
              
      Specified by:
      setName in interface EmailUser
      Parameters:
      name - Takes in a parameter of name
    • getMailId

      public String getMailId()
      Information provided by the PKI file:
      
          \brief Returns the email address of the email user.
          
          \return string, the email address of the email user.
          
              
      Specified by:
      getMailId in interface EmailUser
      Returns:
      String Returns a String
    • getPassword

      public String getPassword()
      Information provided by the PKI file:
      
          \brief Returns the password of the email user.
          
          \return string, the password of the email user.
          
              
      Specified by:
      getPassword in interface EmailUser
      Returns:
      String Returns a String
    • setMailId

      public void setMailId(String mailid)
      Information provided by the PKI file:
      
          \brief Sets the email address for the email user.
          
          \param mailid, the email address for the email user.
          
              
      Specified by:
      setMailId in interface EmailUser
      Parameters:
      mailid - Takes in a parameter of mailid
    • setPassword

      public void setPassword(String password)
      Information provided by the PKI file:
      
          \brief Sets the password for the email user.
          
          \param password, the password for the email user.
          
              
      Specified by:
      setPassword in interface EmailUser
      Parameters:
      password - Takes in a parameter of password
    • getSmtpServer

      public String getSmtpServer()
      Information provided by the PKI file:
      
          \brief Returns the SMTP server of the email user.
          
          \return string, the SMTP server of the email user.
          
              
      Specified by:
      getSmtpServer in interface EmailUser
      Returns:
      String Returns a String
    • getPop3Server

      public String getPop3Server()
      Information provided by the PKI file:
      
          \brief Returns the POP3 server of the email user.
          
          \return string, the POP3 server of the email user.
          
              
      Specified by:
      getPop3Server in interface EmailUser
      Returns:
      String Returns a String
    • setSmtpServer

      public void setSmtpServer(String server)
      Information provided by the PKI file:
      
          \brief Sets the SMTP server for the email user.
          
          \param server, the SMTP server for the email user.
          
              
      Specified by:
      setSmtpServer in interface EmailUser
      Parameters:
      server - Takes in a parameter of server
    • setPop3Server

      public void setPop3Server(String server)
      Information provided by the PKI file:
      
          \brief Sets the POP3 server for the email user.
          
          \param server, the SMTP server for the email user.
          
              
      Specified by:
      setPop3Server in interface EmailUser
      Parameters:
      server - Takes in a parameter of server
    • getMailBox

      public MailBox getMailBox()
      Information provided by the PKI file:
      
          \brief Returns the mailbox of the email user.
          
          \return string, the mailbox of the email user.  Through the object, emails can be added, accessed, removed.
          
              
      Specified by:
      getMailBox in interface EmailUser
      Returns:
      MailBox Returns a MailBox